import { Layout } from '@fl/utils/routerHelper'

import integral from './modules/integral'
import member from './modules/member'
import order from './modules/order'
import task from './modules/task'
import setting from './modules/setting'

const anjutongRoute: AppRouteRecordRaw = {
    children: [
        member,
        task,
        integral,
        order,
        setting,
    ],
    component: Layout,
    meta: {
        title: '用户中心',
    },
    name: 'anjutong',
    path: '/member-center',
    redirect: '/member-center/member/member-list',
}

export default anjutongRoute
